package com.iweb.service;

import com.iweb.dto.AdminListInfo;
import com.iweb.model.Admin;
import com.iweb.page.DataGrid;

public interface AdminService {

    Admin findId(long id) throws Exception;

    Admin findPhone(String phone) throws Exception;

    DataGrid<AdminListInfo> findList(int current, int size) throws Exception;
}
